<?php
declare(strict_types=1);

namespace App\Wxc\Request\SharerMp\V1;

use Deepwell\Data\Data;
use Deepwell\Data\Optional;

class GetProductListRequest extends Data
{
    /**
     * 查询关键字
     */
    public string|Optional $keywords;

    /**
     * 下一页起始点
     */
    public int|string|Optional $next_key = '';

    /**
     * 每页数量
     */
    public int|Optional $page_size = 10;

    /**
     * 站点ID
     */
    public int|Optional $site_id;

    /**
     * 店铺ID
     */
    public string|Optional $shop_id;

    public static function attributes(): array
    {
        return [
            'keywords' => '查询关键字',
        ];
    }
}